package com.xiaolin.algorithm.search.fibonacci;

import java.util.Arrays;

/**
 * @ClassName FibonacciSearchTest
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/17
 * @Version 1.0
 */
public class FibonacciSearchTest {
    public static void main(String[] args) {
        FibonacciSearch fibonacciSearch=new FibonacciSearch();
        int[] f = fibonacciSearch.fibonacciList(10);
        System.out.println(Arrays.toString(f));
        int[] arr=new int[]{1,2,5,8,14,18,42,45,5};
        System.out.println(fibonacciSearch.search(arr,555));
    }
}
